package cn.ncupyh.Extends;

public class WorkTest {
    public static void main(String[] args) {
        Manage m = new Manage("123456","zhangsan",5000);
        System.out.println(m);
        m.ManageWork();
        m.eat();

        Cook c = new Cook("888888","lisi",6000);
        System.out.println(c);
        c.CookWork();
        c.eat();

    }
}
